#!/usr/bin/env python
# -*- coding: UTF-8 -*-

import os

path = os.environ.get('PATH')

print u'Hello World\n'

aList = ['spam','eggs',100]
print aList[-1]
print aList[0:100]
print aList[-1:1]
print aList[1:-1]
aList[0] += str(15)
print aList[:]
aList[-1:-1] = [ 1, 2, 3 ]
print aList
for i in [ 4, 5, 6 ]:
    aList.append(i)
    print aList
aList[-1:] = [ 7, 8, 9 ]
print aList
bList = [ 1, 2, 3 ]
while bList:
    print bList
    bList[-1:] = []